<?php

/**
 * 格式固定，变量名固定
 */
$parentid = $menu_db->add_menu(array('name'=>'gallery', 'parentid'=>1615, 'm'=>'Gallery', 'c'=>'AdminGallery', 'a'=>'index', 'data'=>'', 'listorder'=>0, 'display'=>'1'));
$menu_db->add_menu(array('name'=>'gallery_add', 'parentid'=>$parentid, 'm'=>'Gallery', 'c'=>'AdminGallery', 'a'=>'add', 'data'=>'', 'listorder'=>0, 'display'=>'0'));
$menu_db->add_menu(array('name'=>'gallery_upload', 'parentid'=>$parentid, 'm'=>'Gallery', 'c'=>'AdminGallery', 'a'=>'uploadify', 'data'=>'', 'listorder'=>0, 'display'=>'0'));
$menu_db->add_menu(array('name'=>'gallery_edit', 'parentid'=>$parentid, 'm'=>'Gallery', 'c'=>'AdminGallery', 'a'=>'edit', 'data'=>'', 'listorder'=>0, 'display'=>'0'));
$menu_db->add_menu(array('name'=>'gallery_del', 'parentid'=>$parentid, 'm'=>'Gallery', 'c'=>'AdminGallery', 'a'=>'del', 'data'=>'', 'listorder'=>0, 'display'=>'0'));


$language = array(
    'gallery' => '轮播图',
    'gallery_add' => '新增轮播图',
    'gallery_upload' => '上传图片',
    'gallery_edit' => '编辑轮播图',
    'gallery_del' => '删除轮播图',
);
?>